import request from '@/utils/request'

// 查询市区宽带待装通报表列表
export function listBroadbandwaitingarea(query) {
  return request({
    url: '/broadbandwaiting/broadbandwaitingarea/list',
    method: 'get',
    params: query
  })
}

// 查询市区宽带待装通报表详细
export function getBroadbandwaitingarea(id) {
  return request({
    url: '/broadbandwaiting/broadbandwaitingarea/' + id,
    method: 'get'
  })
}

// 新增市区宽带待装通报表
export function addBroadbandwaitingarea(data) {
  return request({
    url: '/broadbandwaiting/broadbandwaitingarea',
    method: 'post',
    data: data
  })
}

// 修改市区宽带待装通报表
export function updateBroadbandwaitingarea(data) {
  return request({
    url: '/broadbandwaiting/broadbandwaitingarea',
    method: 'put',
    data: data
  })
}

// 删除市区宽带待装通报表
export function delBroadbandwaitingarea(id) {
  return request({
    url: '/broadbandwaiting/broadbandwaitingarea/' + id,
    method: 'delete'
  })
}
